﻿@namespace MudBlazor
@inherits MudComponentBase

<span @attributes="UserAttributes" class="@Classname" style="@Style">
    @ChildContent
	@if (Visible)
	{
		<span class="@WrapperClass">
			<span class="@BadgeClassName" @onclick="HandleBadgeClick">
				@if (!Dot)
				{
					@if (!String.IsNullOrEmpty(Icon))
					{
						<MudIcon Icon="@Icon" Class="mud-icon-badge" />
					}
					else
					{
						@_content
					}
				}
			</span>
		</span>
	}
</span>
